﻿using BLL;
using DAL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WeChat.WaterMng
{
    public partial class ReservationWater : System.Web.UI.Page
    {
        public string openid = string.Empty;
        public string rfkh = string.Empty;
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                openid = Session["openid"].ToString();
                GetUserInfoBLL gb = new GetUserInfoBLL();
                DataTable dt = gb.getUserInfo(openid).Tables[0];
                rfkh = dt.Rows[0]["rfkh"].ToString();


            }
            catch (Exception ex)
            {
                ApplicationLog.Write("WaterCtrlReservated获取openid和卡号异常信息=" + ex.Message);
                Response.Redirect("../index.html");
               
            }

        }
    }
}